package com.itheima.ydd.service;

import com.itheima.ydd.entity.SysConfig;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2022-05-22
 */
public interface ISysConfigService extends IService<SysConfig> {
    /**
     * 获取list中的map
     *
     * @param key
     * @param name 可变参数--数组
     * @return
     */
    Map<String, Object> getListMap(String key, String... name);

    /**
     * 获取系统明细中的list
     * @return
     */
    List<Map<String, Object>> getList() ;

}
